package com.example.demo.proxy;


import org.springframework.stereotype.Component;

@Component
public class RealHouseSubject implements HouseSubject{


    @Override
    public void rent() {
        System.out.println("我是房东,我出租房子");
    }

    @Override
    public void sale() {
        System.out.println("我是房东,我出售房子");

    }
}
